//
//  URLMacros.h
//  EMarket
//
//  Created by 石头 on 2018/7/18.
//  Copyright © 2018 好日子. All rights reserved.
//

#ifndef URLMacros_h
#define URLMacros_h


//  网站地址
#define kUrlBase                    @"http://47.95.215.20/shop/api/"

/** user */
#define kRegisterUrl                @"/api/shop/register"
#define kLoginUrl                   @"/api/shop/login"
#define kAttestationUrl             @"/api/shop/attestation"
#define kAddressUpdateUrl           @"/api/shop/addressUpdate"
#define kAddressQueryUrl            @"/api/shop/addressQuery"
#define kFileUploadUrl              @"/file/upload"

/** goods */
#define kFistClassifyUrl            @"/classify/first/classify"
#define kClassifyContentUrl         @"/classify/classifyContent"
#define kGoodsListUrl               @"/goods/list"
#define kGoodsDetailUrl             @"/goods/detail"

/** homeAd */
#define kBigbrandUrl                @"/api/shop/bigbrand"
#define kHotclassifyUrl             @"/api/shop/hotclassify"
#define kThemeUrl                   @"/api/shop/theme"
#define kCarouselUrl                @"/api/shop/carousel"
#define kThemeGoodsUrl              @"/api/shop/themeGoods"

/** cart */
#define kCartAddGoodsUrl            @"/api/mail/addShopCar"
#define kCartUpdateGoodsUrl         @"/api/mail/updateNumber"
#define kCartDeletedGoodsUrl        @"/api/mail/deleteCar"
#define kCartGoodsListUrl           @"/api/mail/getShopCarDOList"

/** order */
#define kCreateOrderUrl             @"/api/mail/order"
#define kCreateOrderPayTypeUrl      @"/api/mail/pay"
#define kGetOrderUrl                @"/api/mail/getOrder"
#define kGetOrderDetailUrl          @"/api/mail/getOrderDetail"



//URL
#define CDDWeiBo @"http://weibo.com/u/5605532343"

#define CDDJianShu01 @"http://www.jianshu.com/p/3f248b614bdc"
#define CDDJianShu02 @"http://www.jianshu.com/p/1b19028dc975"
#define CDDJianShu03 @"http://www.jianshu.com/p/cc92ea70addf"
#define CDDJianShu04 @"http://www.jianshu.com/p/d08ab02d219c"

#define HRZXiangqing @"https://github.com/TyroneSong/SPSlideSwitch"

#endif /* URLMacros_h */
